{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
          <div class="col-md-12">
              <div class="box box-info">
                <div class="box-header with-border">
                  <h3 class="box-title">用户信息修改</h3>
                </div>
                <!-- /.box-header -->
                <!-- form start -->
                <form class="form-horizontal" method="post">
                    <!-- /.box-header -->
                    <div class="box-body">
                        <div class="table-responsive">
                            <table class="table" id="colorful">
                                <tr>
                                    <td style="background-color:#f4f4f4;  width:200px;">姓名</td>
                                    <td><input name="student_name" type="text"  value="{%$student_data.student_name%}" ></td>
                                    <td style="background-color:#f4f4f4;  width:200px;">学籍号</td>
                                    <td><input name="student_school" type="text"  value="{%$student_data.student_school%}" readonly="readonly"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">身份证号</td>
                                    <td><input name="student_card" type="text"  value="{%$student_data.student_card%}" style="width:70%"></td>
                                    <td style="background-color:#f4f4f4;">性别</td>
                                    <td><label class="choice">
                                            <input type="radio" name="student_sex" value="1"{%if $student_data.student_sex eq 1%}checked{%/if%}> 男</label>
                                        <label><input type="radio" name="student_sex" value="0"{%if $student_data.student_sex eq 0%}checked{%/if%}> 女</label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">学号</td>
                                    <td><input name="student_no" type="text"  value="{%$student_data.student_no%}" readonly="readonly"></td>
                                    <td style="background-color:#f4f4f4;">户口状况</td>
                                    <td><input name="student_register" type="text"  value="{%$student_data.student_register%}" style="width:70%"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">所在派出所</td>
                                    <td><input name="student_office" type="text"  value="{%$student_data.student_office%}" ></td>
                                    <td style="background-color:#f4f4f4;">是否本区</td>
                                    <td><input name="student_islocal" type="text"  value="{%$student_data.student_islocal%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">是否超生</td>
                                    <td><input name="student_over" type="text"  value="{%$student_data.student_over%}" ></td>
                                    <td style="background-color:#f4f4f4;">学籍变动</td>
                                    <td><input name="student_variation" type="text"  value="{%$student_data.student_variation%}" readonly="readonly"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">变动时间</td>
                                    <td><input class="time" name="student_ctime" type="text"  value="{%$student_data.student_ctime%}" ></td>
                                    <td style="background-color:#f4f4f4;">备注</td>
                                    <td><input name="student_remarks" type="text"  value="{%$student_data.student_remarks%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">籍贯</td>
                                    <td><input name="student_native" type="text"  value="{%$student_data.student_native%}" ></td>
                                    <td style="background-color:#f4f4f4;">民族</td>
                                    <td><input name="student_nation" type="text"  value="{%$student_data.student_nation%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">家庭住址</td>
                                    <td><input name="student_addr" type="text"  value="{%$student_data.student_addr%}" ></td>
                                    <td style="background-color:#f4f4f4;">联系电话</td>
                                    <td><input name="student_tel" type="text"  value="{%$student_data.student_tel%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">学校名称</td>
                                    <td><input name="student_sname" type="text"  value="{%$student_data.student_sname%}" ></td>
                                    <td style="background-color:#f4f4f4;">学校标识码</td>
                                    <td><input name="student_snumber" type="text"  value="{%$student_data.student_snumber%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">出生日期</td>
                                    <td><input class="date" name="student_birth" type="text"  value="{%$student_data.student_birth%}" ></td>
                                    <td style="background-color:#f4f4f4;">出生地</td>
                                    <td><input name="student_city" type="text"  value="{%$student_data.student_city%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">国籍地区</td>
                                    <td><input name="student_country" type="text"  value="{%$student_data.student_country%}" ></td>
                                    <td style="background-color:#f4f4f4;">身份证件类型</td>
                                    <td><input name="student_idtype" type="text"  value="{%$student_data.student_idtype%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">年级</td>
                                    <td><input name="grade_id" type="text"  value="{%$student_data.grade_id%}" ></td>
                                    <td style="background-color:#f4f4f4;">港澳台侨外</td>
                                    <td><input name="student_china" type="text"  value="{%$student_data.student_china%}"></td>
                                </tr><tr>
                                    <td style="background-color:#f4f4f4;">班级</td>
                                    <td><input name="class_id" type="text"  value="{%$student_data.class_id%}" ></td>
                                    <td style="background-color:#f4f4f4;">政治面貌</td>
                                    <td><input name="student_politics" type="text"  value="{%$student_data.student_politics%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">健康状态</td>
                                    <td><input name="student_health" type="text"  value="{%$student_data.student_health%}" ></td>
                                    <td style="background-color:#f4f4f4;">户口所在地</td>
                                    <td><input name="student_register_place" type="text"  value="{%$student_data.student_register_place%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">户口性质</td>
                                    <td><select class="form-control" id="s1"  name="student_registered">
                                            <option value="1"{%if $student_data.student_registered == 1%}selected{%/if%}> 农村</option>
                                            <option value="2"{%if $student_data.student_registered == 2%}selected{%/if%}> 城市</option>
                                        </select></td>
                                    <td style="background-color:#f4f4f4;">入学年月</td>
                                    <td><input class="time" name="student_start_time" type="text"  value="{%$student_data.student_start_time%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">现住址</td>
                                    <td><input name="student_now_addr" type="text"  value="{%$student_data.student_now_addr%}" ></td>
                                    <td style="background-color:#f4f4f4;">入学方式</td>
                                    <td><input name="student_way" type="text"  value="{%$student_data.student_way%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">通讯地址</td>
                                    <td><input name="student_tel_addr" type="text"  value="{%$student_data.student_tel_addr%}" ></td>
                                    <td style="background-color:#f4f4f4;">家庭住址</td>
                                    <td><input name="student_home_addr" type="text"  value="{%$student_data.student_home_addr%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">邮政编号</td>
                                    <td><input name="student_mail" type="text"  value="{%$student_data.student_mail%}" ></td>
                                    <td style="background-color:#f4f4f4;">是否进城务工</td>
                                    <td><input name="is_work" type="text"  value="{%$student_data.is_work%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">是否独生子女</td>
                                    <td><input name="is_alone" type="text"  value="{%$student_data.is_alone%}" ></td>
                                    <td style="background-color:#f4f4f4;">是否受过学前教育</td>
                                    <td><input name="is_study" type="text"  value="{%$student_data.is_study%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">是否留守儿童</td>
                                    <td><input name="is_stay" type="text"  value="{%$student_data.is_stay%}" ></td>
                                    <td style="background-color:#f4f4f4;">是否需要申请资助</td>
                                    <td><input name="is_help" type="text"  value="{%$student_data.is_help%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">是否烈士子女</td>
                                    <td><input name="is_martyr" type="text"  value="{%$student_data.is_martyr%}" ></td>
                                    <td style="background-color:#f4f4f4;">是否享受一补</td>
                                    <td><input name="is_subsidy" type="text"  value="{%$student_data.is_subsidy%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">就读方式</td>
                                    <td><select class="form-control" id="s1" name="student_mode">
                                            <option value="1" {%if $student_data.student_mode =="1"%}selected{%/if%}> 寄宿生</option>
                                            <option value="0" {%if $student_data.student_mode =="0"%}selected{%/if%}> 走读生</option>
                                        </select></td>
                                    <td style="background-color:#f4f4f4;">是否孤儿</td>
                                    <td><input name="is_left" type="text"  value="{%$student_data.is_left%}"></td>
                                </tr>

                                <tr>
                                    <td style="background-color:#f4f4f4;">学籍号</td>
                                    <td><input name="student_help_no" type="text"  value="{%$student_data.student_help_no%}" ></td>
                                    <td style="background-color:#f4f4f4;">班内学号</td>
                                    <td><input name="student_class_no" type="text"  value="{%$student_data.student_class_no%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">学生来源</td>
                                    <td><input name="student_from" type="text"  value="{%$student_data.student_from%}" ></td>
                                    <td style="background-color:#f4f4f4;">随班就读</td>
                                    <td><input name="student_read" type="text"  value="{%$student_data.student_read%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">残疾类型</td>
                                    <td><select class="form-control" id="s1" name="student_disability">
                                            <option>无</option>
                                            <option value="1" {%if $student_data.student_disability ==1%}selected{%/if%}>视力残疾</option>
                                            <option value="2" {%if $student_data.student_disability ==2%}selected{%/if%}>听力残疾</option>
                                            <option value="3"{%if $student_data.student_disability ==3%}selected{%/if%}>智力残疾</option>
                                            <option value="4"{%if $student_data.student_disability ==4%}selected{%/if%}>其他残疾</option>
                                        </select></td>
                                    <td style="background-color:#f4f4f4;">家庭成员姓名</td>
                                    <td><input name="student_parent" type="text"  value="{%$student_data.student_parent%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">家庭成员关系</td>
                                    <td><input name="student_home_relation" type="text"  value="{%$student_data.student_home_relation%}" ></td>
                                    <td style="background-color:#f4f4f4;">家庭成员工作单位</td>
                                    <td><input name="student_home_work" type="text"  value="{%$student_data.student_home_work%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">家庭成员现住址</td>
                                    <td><input name="student_parent_addr" type="text"  value="{%$student_data.student_parent_addr%}" ></td>
                                    <td style="background-color:#f4f4f4;">家庭成员联系电话</td>
                                    <td><input name="student_ptel" type="text"  value="{%$student_data.student_ptel%}"></td>
                                </tr>
                                <tr>
                                    <td style="background-color:#f4f4f4;">家庭成员户口所在地</td>
                                    <td><input name="student_parent_city" type="text"  value="{%$student_data.student_parent_city%}" ></td>
                                </tr>
                            </table>
                        </div>
                        <!-- /.mail-box-messages -->
                    <div class="box-footer text-center">
                         <button type="submit" class="btn btn-primary " >保 存 信 息</button>
                    </div>
                  </div>
                  <!-- /.box-footer -->
                </form>
              </div>
           </div>
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
<script>
  $(function() {
    $(".time").datepicker({
      changeMonth: true,
      changeYear: true,
	  yearRange:"1930:2016",
	  dateFormat:"yy-mm", 
    });
	 $(".date").datepicker({
      changeMonth: true,
      changeYear: true,
	  yearRange:"1930:2016",
    });
  });
  </script>

